-- card: 34574 from stack: in.2r -- bmap block id: 0 -- flags: 0000 -- background id: 3837 -- name: SetFile -- part contents for background part 5 ----- text ----- SetFile -- part contents for background part 6 ----- text ----- SetFile lets you change various attributes of a file. Note: At present, the only attribute that can be changed is whether or not the file icon is visible on the desktop. Given enough time (& interest), I will finish the job: Send your comments to the address below. Other XCMDs of potential interest are FileName, FileType*, reNameFIle*, changeFileType*, & FileCreator*. -------------------------------------------- Q: Who invented me? A: Larry Wolfarth 2133 N. Lincoln St. Arlington, VA 22207 Q: Any limitations on my use? A: Just mention the name of my creator in a visible place if you use this XCMD for commercial purposes. [Note: My creator is not a lawyer, but my creator's wife is....] Q: What if you don't like me? A: You may (1) write the author & ask for the source code, (2) grumble but continue to use the XCMD as is, or (3) forget the whole thing. HOWEVER, you may NOT complain: you got what you paid for.... •••••••••••••••••••••••••••••••••••••• Reading suggestion: The Visual Display of Quantitative Information, by Ed Tufte (Graphics Press)--opinionated views on such matters as the use of color in diplay graphics, what makes an effective (and useless) graph, etc. Warning: Tufte has no use for pie charts.... ••Note from Steve Drazga, Editor DevStack I would like to publicly thank Larry for sending in this contribution & supporting the Developer Stack. It was especially nice the way he formatted his contribution so all I had to do was paste it into the new issue. Way to go, Larry! -- part contents for background part 7 ----- text ----- Syntax: SetFile(<"fullPathName">, ) SetFile returns a response of the following type: "noError" "Error" [+ an explanation] "changeTo" is one of the following items: "Visible" "inVisible" -- part contents for background part 10 ----- text ----- 35